<?php
session_start();
isLogin();

if(isset($_POST["Submits"])){
	reload_js("","?cmd=".$_POST['search_type']."&key=".$_POST['key']);
}
?>
<script language="javascript" src="../templates/<?php echo $moban;?>/js/common.js"></script>
<script language="javascript">
changeWebTitle('站内搜索');
</script>

<div class="ContentRight">
    <div class="ContentRightTop">
      <div class="BarLeft"></div>
      <div class="ContentRightTopText">站内搜索</div>
      <div class="BarRight"></div>
      <div class="Cal"></div>
    </div>
    <div class="ContentRightBox">
	<form name="searchform" action="" method="post">
      <table width="100%" cellpadding="0" class="Table1" bordercolor="#4ab902" border="1" cellspacing="0">
        <tr>
          <td width="14%" height="25" align="right">关键字：</td>
          <td width="46%">            <input name="key" type="text" id="key" size="30" />          </td>
          <td width="21%">
		  <select name="search_type" id="search_type">
		  <option value="shop">店铺数据</option>
		  <option value="article">文章标题</option>
          </select>
          </td>
          <td width="19%" align="center"><input name="Submits" type="submit" id="Submits" value=" 提 交 " /></td>
        </tr>
        <tr>
          <td height="25" align="right">版权所有：</td>
          <td colspan="3"><a href="http://www.fengsh8.com" target="_blank">风尚淘客程序</a></td>
        </tr>
      </table>
	  </form>
    </div>
    <div class="Cal"></div>
  </div>